window.onload = function(){
var p = document.createElement("p");
p.innerHTML = "这是动态添加的"
document.body.appendChild(p);

var ul = document.createElement("ul");
ul.innerHTML="目录"
document.body.appendChild(ul);

var li1 = document.createElement("li");
li1.innerHTML="文件"
document.body.appendChild(li1);

var label1 = document.createElement("label");
label1.innerHTML="ahaha"

document.body.appendChild(label1);

} 
